<!--
 * @Description: 
 * @Author: charles
 * @Date: 2021-08-13 10:47:35
 * @LastEditors: charles
 * @LastEditTime: 2021-08-13 11:35:18
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>网易严选</title>
  <style>
    html { font: 12px '微软雅黑'; }
    body {margin: 0;}
    ul {margin: 0;padding: 0;list-style: none;}
    .wrapper {
      width: 1090px;
      margin: 0 auto;
    }
    .xpsf {
    }
    .xpsf ul.p_list::after {
      content: "";
      display: block;
      clear: both;
    }
    .xpsf ul.p_list > li {
      height: 361px;
      float: left;
      width: 265px;
      margin-right: 10px;
      cursor: pointer;
    }
    .xpsf ul.p_list > li:last-child {
      margin-right: 0;
    }
    .xpsf ul.p_list > li:hover {
      background-color: #f4f4f4;
    }
    .xpsf ul.p_list > li:hover .photo_list{
      margin-left: -265px;
    }
    .xpsf ul.p_list > li > .photo {
      height: 265px;
      overflow: hidden;
    }
    .xpsf ul.p_list > li > .photo > .photo_list {
      width: 530px;
      height: 265px;
      display: flex;
    }
    .xpsf ul.p_list > li > .photo > .photo_list img {
      display: block;
      width: 265px;
    }
    

    .rqtj {
      background-color:lightsalmon;
      height: 300px;
    }
    .jjsh {
      height: 300px;
      background-color: lightseagreen;
    }
  </style>
</head>
<body>
  <!-- 容器 -->
  <div class="container">
    <!-- 新品首发 -->
    <div class="xpsf">
      <!-- 居中 -->
      <div class="wrapper">
        <ul class="p_list">
          <li>
            <div class="photo">
              <div class="photo_list">
                <img src="./images/p1.png" alt="">
                <img src="./images/p2.png" alt="">
              </div>
            </div>
          </li>
          <li>
            <div class="photo">
              <div class="photo_list">
                <img src="./images/p1.png" alt="">
                <img src="./images/p2.png" alt="">
              </div>
            </div>
          </li>
          <li>
            <div class="photo">
              <div class="photo_list">
                <img src="./images/p1.png" alt="">
                <img src="./images/p2.png" alt="">
              </div>
            </div>
          </li>
          <li>
            <div class="photo">
              <div class="photo_list">
                <img src="./images/p1.png" alt="">
                <img src="./images/p2.png" alt="">
              </div>
            </div>
          </li>
        </ul>
      </div>
    </div>
    <!-- 人气推荐 -->
    <div class="rqtj">
      <div class="wrapper">
        人气推荐
      </div>
    </div>
    <!-- 居家生活 -->
    <div class="jjsh">
      <div class="wrapper">
        居家生活
      </div>
    </div>
  </div>
</body>
</html>

